export default {
    namespaced: true,
    state() {
        return {
            info: "张三"
        }
    },
    mutations: {
        updateInfo(state) {
            console.log("我被调用了");
        }
    },
    actions: {
        asyncInfo() {
            console.log("我再次被调用量");
        }
    },
    getters: {
        infoMsg(state, pay) {
            return `我叫${state.info}`
        }
    }
}